﻿using Framework;
using System.Runtime.Serialization;
using System.Xml;

namespace SchemaMonitor.xml
{
    public class CAddr
    {
        [DataMember(Order = 1)] public string Address;
        [DataMember(Order = 2)] public int    Type;

        public CAddr(XmlNode i)
        {
            Address = CXml.AttributeStr(i, "address");
            Type = CXml.AttributeInt(i, "type");
        }
    }
}
